<ul class="nav nav-secondary" >
 	<li ><a href="#/teach_leave_old">请假历史</a></li>
 	<li class="active"><a href="#/teach_leave}">请假申请</a></li>
</ul>
<form class="form-horizontal" role="form" method="post">
	<div class="form-group">
	    <label class="col-md-2 control-label">请假原因：</label>
	    <div class="col-md-4">
			<textarea type="text"  ng-model="leave.content" class="form-control" placeholder="请填写"></textarea>
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-md-2 control-label">请假开始时间:</label>
    	<div class="col-md-2">
			<input type="text" ng-model="leave.start_time" class="form-control form-datetime" placeholder="选择或者输入一个日期" readonly>
    	</div>
	    <label class="col-md-2 control-label">请假结束时间:</label>
    	<div class="col-md-2">
			<input type="text" ng-model="leave.end_time" class="form-control form-datetime" placeholder="选择或者输入一个日期" readonly>
    	</div>
	</div>
	<ul class="nav nav-secondary" style="height:38px;margin-left:10px;" >
		<li class="active"><a>请假期间教学安排</a></li>
	</ul>
	<div class="form-group">
	    <label class="col-md-2 control-label">学校：</label>
		<div class="col-md-2"><select  id="" class="form-control" ng-model="n"  ng-options="n.name for n in nodel" >
		</select></div>
	</div>
	<div class="form-group">
	    <label class="col-md-2 control-label">班级：</label>
		<div class="col-md-2"><select  id="" class="form-control" ng-model="m"  ng-options="m.name for m in model" >
		</select></div>
	</div>
	<div class="form-group">
	    <label class="col-md-2 control-label">代课老师：</label>
		<div class="col-md-2"><select  id="" class="form-control" ng-model="t"  ng-options="t.name for t in todel" ></select></div>
	</div>
	<ul class="nav nav-secondary" style="height:38px;margin-left:10px;" >
		<li class="active"><a>请假期间卫生安排</a></li>
	</ul>
	<div class="form-group">
	    <label class="col-md-2 control-label">教师姓名：</label>
		<div class="col-md-2"><select  id="" class="form-control" ng-model="t"  ng-options="t.name for t in todel" ></select></div>
		<label class="col-md-2 control-label">工作内容：</label>
		<div class="col-md-4">
			<textarea type="text"  ng-model="competition" class="form-control" placeholder="请填写"></textarea>
	    </div>
	</div>
	<ul class="nav nav-secondary" style="height:38px;margin-left:10px;" >
		<li class="active"><a>请假期间值班安排</a></li>
	</ul>
	<div class="form-group">
	    <label class="col-md-2 control-label">教师姓名：</label>
		<div class="col-md-2"><select  id="" class="form-control" ng-model="t"  ng-options="t.name for t in todel" ></select></div>
		<label class="col-md-2 control-label">工作内容：</label>
		<div class="col-md-4">
			<textarea type="text"  ng-model="competition" class="form-control" placeholder="请填写"></textarea>	   
	    </div>
	</div>
</form>
<div  class="pull-right">
	<div style="margin-bottom:20px; margin-right:100px;">
		<a href=""><button  ng-click="submit(leave)"style="width:180px;"class="btn btn-large btn-primary">申请</button></a>
	</div>
</div>